﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace AppConfigurationMVC.Models
{
    public class AppConfiguration
    {
        [Required]
        [Display(Name="Key")]
        public string ConfigKey { get; set; }

        [Required]
        [Display(Name = "Value")]
        public string ConfigValue { get; set; }

        [Required]
        [Display(Name = "Reason")]
        public string Comment { get; set; }

        public int ConfigID { get; set; }
        public DateTime RecordCreateTime { get; set; }
        public DateTime RecordUpdateTime { get; set; }
    }
}